package com.smedi.ismedi.inmail.api.dto.response.safetyBoard;

import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class StatisticsInfoResponse implements Serializable {
    /**
     * 名称
     */
    @ApiModelProperty(value = "名称")
    private String name;

    /**
     * 占比
     */
    @ApiModelProperty(value = "占比")
    private BigDecimal rate;

    /**
     * 数量
     */
    @ApiModelProperty(value = "数量")
    private BigDecimal number;
}
